package com.hrma.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.util.Date;

@Data
public class TalentPool {
    private Integer id;
    @NotBlank(message = "人才姓名不能为空！")
    private String talentName;
    @NotBlank(message = "性别不能为空！")
    private String sex;
    @NotBlank(message = "应聘职务ID不能为空！")
    private Integer postId;
    @NotBlank(message = "应聘职务类型不能为空！")
    private String workKind;
    private String education;
    private String certification;
    private Integer workAge;
    @NotBlank(message = "手机号不能为空！")
    private String phone;
    private String idCard;
    private String address;
    private Date createTime;
    private Integer state;
}
